package movEat.Kernel.OrderQueryImpl;

import java.sql.ResultSet;
import java.util.ArrayList;

import movEat.Definitions.DishTypes;
import movEat.Definitions.Pair;
import movEat.IKernel.IQueryResult;
import movEat.IKernel.Operation;

public class QueryResult implements IQueryResult {

	private ArrayList<Pair<String, Integer>> results = null;
	private DishTypes dishType = null;
	
	public QueryResult(DishTypes dishType, ArrayList<Pair<String, Integer>> result) {
		this.dishType = dishType;
		results = result;
	}

	@Override
	public DishTypes getDishType() {
		return dishType;
	}

	@Override
	public ArrayList<Pair<String, Integer>> getResults() {
		return results;
	}

	
}
